package com.group.www.dao.impl;

import com.group.www.pojo.AdminInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdminInfoDao {

    List<AdminInfo> queryAll();

    AdminInfo queryByNameAndPwd(@Param("name") String adminName,@Param("pwd") String password);

    AdminInfo queryById(Integer adminId);

    void update(AdminInfo adminInfo);

    void add(AdminInfo adminInfo);


    void deleteById(Integer adminid);
}
